﻿<%@ Page Language="C#" MasterPageFile="~/castcom.master" AutoEventWireup="true" CodeFile="Register.aspx.cs"
    Inherits="Register" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Wizard ID="wEngagement" runat="server" ActiveStepIndex="0" FinishCompleteButtonText="S'engager"
        FinishPreviousButtonText="Precedent" DisplaySideBar="False" 
        OnActiveStepChanged="wEngagement_ActiveStepChanged" 
        onfinishbuttonclick="wEngagement_FinishButtonClick">
        <WizardSteps>
            <asp:WizardStep runat="server" Title="Formulaire d'engagement">
                Texte d&#39;intro<br />
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="Charte et reglement interieur">
                Texte de la charte blabla c&#39;est beau et reglement interieur<br />
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="Informations civiles">
                <table>
                    <tr>
                        <td>
                            Votre nom
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="tbName" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator
                                ID="RequiredFieldValidator3" runat="server" ErrorMessage="*"
                                ControlToValidate="tbName"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Votre prenom
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="tbPrename" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator
                                ID="RequiredFieldValidator2" runat="server" ErrorMessage="*"
                                ControlToValidate="tbPrename"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Votre mail
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="tbMail" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator
                                ID="RequiredFieldValidator1" runat="server" ErrorMessage="*"
                                ControlToValidate="tbMail"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Votre date de naissance
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="tbDay" runat="server" Columns="2" MaxLength="2">JJ</asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                ControlToValidate="tbDay" ErrorMessage="*"></asp:RequiredFieldValidator>
                            &nbsp;<asp:TextBox ID="tbMonth" runat="server" Columns="2" MaxLength="2">MM</asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                                ControlToValidate="tbMonth" ErrorMessage="*"></asp:RequiredFieldValidator>
                            &nbsp;<asp:TextBox ID="tbYear" runat="server" Columns="4" MaxLength="4">YYYY</asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                ControlToValidate="tbYear" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Votre telephone
                        </td>
                        <td class="style2">
                            <asp:TextBox ID="tbPhoneNumber" runat="server" MaxLength="15">06</asp:TextBox>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="tbPhoneNumber"
                                ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                </table>
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="Informations du soldat">
                <table>
                    <tr>
                        <td>
                            Votre Pseudo/Login
                        </td>
                        <td>
                            <asp:TextBox ID="tbPseudo" runat="server"></asp:TextBox>
                            <asp:RequiredFieldValidator
                                ID="RequiredFieldValidator5" runat="server" ErrorMessage="*"
                                ControlToValidate="tbName"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                    <td>Votre mot de passe</td>
                    <td>
                        <asp:TextBox ID="tbPassword" runat="server" TextMode="Password"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                            ControlToValidate="tbPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Votre equipement (materiel et gear)
                        </td>
                        <td>
                            <asp:TextBox ID="tbEquipement" runat="server" Rows="5" TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Possedez vous une radio ?
                        </td>
                        <td>
                            <asp:RadioButtonList ID="rbRadio" runat="server" RepeatDirection="Horizontal">
                                <asp:ListItem Value="1">Oui</asp:ListItem>
                                <asp:ListItem Selected="True" Value="0">Non</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                </table>
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="Recapitulatif">
                <table>
                    <asp:Label ID="lPassword" runat="server" Text="" Visible="False"></asp:Label>
                    <tr>
                        <td>
                            Pseudo
                        </td>
                        <td>
                            <asp:Label ID="lPseudo" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Nom
                        </td>
                        <td>
                            <asp:Label ID="lName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Prenom
                        </td>
                        <td>
                            <asp:Label ID="lPrename" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Mail
                        </td>
                        <td>
                            <asp:Label ID="lMail" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Date de naissance
                        </td>
                        <td>
                            <asp:Label ID="lBirthDate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Telephone
                        </td>
                        <td>
                            <asp:Label ID="lPhoneNumber" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Equipement
                        </td>
                        <td>
                            <asp:Label ID="lEquipment" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Possedez vous une radio ?
                        </td>
                        <td>
                            <asp:Label ID="lRadio" runat="server"></asp:Label>
                        </td>
                    </tr>
                </table>
            </asp:WizardStep>
        </WizardSteps>
    </asp:Wizard>
</asp:Content>
